package com.will.txj.wy.files.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author: wen-yi;
 * @date: 2021/12/4 14:13;
 * @Description:
 */
@Data
@Component
public class SftpConfig {
    @Value("${ftp.host}")
    private String host;
    @Value("${ftp.port}")
    private int port;
    @Value("${ftp.username}")
    private String username;
    @Value("${ftp.password}")
    private String password;
    @Value("${ftp.filepath}")
    private String filepath;
    @Value("${ftp.encoding}")
    private String encoding;
    @Value("${ftp.maxTotal}")
    private int maxTotal;
    @Value("${ftp.minIdel}")
    private int minIdel;
    @Value("${ftp.maxIdle}")
    private int maxIdle;
    @Value("${ftp.maxWaitMillis}")
    private int maxWaitMillis;

    @Value("${ftp.privateKey}")
    private String privateKey;
}
